﻿using NUnit.Framework;
using WatiN.Core;

namespace GrandCWebTest
{
	[TestFixture]
	[RequiresSTA]
	public class Class1
	{
		[Test]
		public void TestMethod()
		{
			using (var b = new IE("http://localhost:56494/"))
			{
				b.TextField(Find.BySelector("#inpName")).TypeText("testar att skriva");
				Assert.That(b.Element(Find.BySelector("#henke")).Text,Is.EqualTo("something that does not exist"));
			}
		}
	}
}
